home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / ftn / getsb.z / getsb
Encoding:
Text File  |  1998-10-20  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggeeeettttssssbbbb((((3333GGGG))))                                                            ggggeeeettttssssbbbb((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggeeeettttssssbbbb - read back the current computed screen bounding box
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ggggeeeettttssssbbbb((((lllleeeefffftttt,,,, rrrriiiigggghhhhtttt,,,, bbbboooottttttttoooommmm,,,, ttttoooopppp))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 lllleeeefffftttt,,,, rrrriiiigggghhhhtttt,,,, bbbboooottttttttoooommmm,,,, ttttoooopppp
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _l_e_f_t     returns the window coordinate of the left-most pixel drawn while
  17.               ssssccccrrrrbbbbooooxxxx has been tracking.
  18.  
  19.      _r_i_g_h_t    returns the window coordinate of the right-most pixel drawn
  20.               while ssssccccrrrrbbbbooooxxxx has been tracking.
  21.  
  22.      _b_o_t_t_o_m   returns the window coordinate of the lowest pixel drawn while
  23.               ssssccccrrrrbbbbooooxxxx has been tracking.
  24.  
  25.      _t_o_p      returns the window coordinate of the highest pixel drawn while
  26.               ssssccccrrrrbbbbooooxxxx has been tracking.
  27.  
  28. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  29.      ggggeeeettttssssbbbb returns the current screen bounding box. ssssccccrrrrbbbbooooxxxx is the computed
  30.      bounding box of all geometry (points, lines, polygons) in screen-space.
  31.      The hardware updates the four values each time geometry is drawn (while
  32.      ssssccccrrrrbbbbooooxxxx is tracking).
  33.  
  34.      If _l_e_f_t is greater than _r_i_g_h_t, or _b_o_t_t_o_m is greater than _t_o_p, nothing has
  35.      been drawn since ssssccccrrrrbbbbooooxxxx was reset.
  36.  
  37. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  38.      scrbox
  39.  
  40. NNNNOOOOTTTTEEEE
  41.      This routine is available only in immediate mode.
  42.  
  43.      IRIS-4D G, GT, and GTX models, and the Personal Iris, do not support
  44.      ssssccccrrrrbbbbooooxxxx, and therefore do not support ggggeeeettttssssbbbb.  Use ggggeeeettttggggddddeeee to determine
  45.      whether ssssccccrrrrbbbbooooxxxx is supported.
  46.  
  47.      On the IRIS-4D RealityEngine model ggggeeeettttssssbbbb returns the trivial rectangle
  48.      defined by ssssccccrrrrmmmmaaaassss.
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.